|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectj3deditor.bin.components.CenterLayout
public class CenterLayout
The CenterLayout class is a layout manager
that lays out a container's component in the middle of the container.
| Constructor Summary | |
|---|---|
CenterLayout(int border)
Creates an instance of CenterLayout
with the given border width. |
|
CenterLayout(int hborder,
int vborder)
Creates an instance of CenterLayout
with the given border width. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(java.lang.String string,
java.awt.Component component)
Required by LayoutManager, not in use. |
void |
layoutContainer(java.awt.Container container)
Required by LayoutManager. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container container)
Required by LayoutManager, not in use. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container container)
Required by LayoutManager, not in use. |
void |
removeLayoutComponent(java.awt.Component component)
Required by LayoutManager, not in use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CenterLayout(int border)
CenterLayout
with the given border width.
border - width of the border
public CenterLayout(int hborder,
int vborder)
CenterLayout
with the given border width.
hborder - horizontal width of the bordervborder - vertical width of the border| Method Detail |
|---|
public void addLayoutComponent(java.lang.String string,
java.awt.Component component)
addLayoutComponent in interface java.awt.LayoutManagerstring - doesn't do anythingcomponent - doesn't do anythingpublic void removeLayoutComponent(java.awt.Component component)
removeLayoutComponent in interface java.awt.LayoutManagercomponent - doesn't do anythingpublic java.awt.Dimension preferredLayoutSize(java.awt.Container container)
preferredLayoutSize in interface java.awt.LayoutManagercontainer - doesn't do anything
nullpublic java.awt.Dimension minimumLayoutSize(java.awt.Container container)
minimumLayoutSize in interface java.awt.LayoutManagercontainer - doesn't do anything
nullpublic void layoutContainer(java.awt.Container container)
layoutContainer in interface java.awt.LayoutManagercontainer - container which components will be layd out
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||